home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _172FF687A99B447281B8905BF9A84E4F < prev    next >
Encoding:
Text File  |  2000-03-27  |  5.7 KB  |  145 lines

  1. // end camera voice over and flick for TEASER map
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7. //Declare all of the camera and notnull entities
  8. local entity firstcam //first camera for the voice over
  9. local entity firstnull //first camera null for the voice over
  10. local entity secondcam //second camera for the voice over
  11. local entity secondnull //second camera null for the voice over
  12. local entity thirdcam //third camera for the voice over
  13. local entity thirdnull //third camera null for the voice over
  14. local entity fourthcam //fourth camera for the voice over
  15. local entity fourthnull //fourth camera null for the voice over
  16. local entity fifthcam //fifth camera for the voice over
  17. local entity fifthnull //fifth camera null for the voice over
  18. local entity endlevel // the end level trigger
  19.  
  20. //Declare all of the black raider entities
  21. local entity firstguard
  22. local entity secondguard
  23. local entity thirdguard
  24. local entity fourthguard
  25. local entity fifthguard
  26. local entity sixthguard
  27. local entity seventhguard
  28. local entity eighthguard
  29. local entity ninthguard
  30. local entity escapetruck
  31. local entity exitdoor
  32.  
  33.  
  34. //Declare all of the signaling integers
  35. local int sig1 //first signaling integer
  36. local int sig2 //second signaling integer
  37. local int sig3 //third signaling integer
  38.  
  39. // assign all cameras and nulls to their appropriate entities
  40. firstcam = find entity with targetname "firstcam"
  41. firstnull = find entity with targetname "firstnull"
  42. secondcam = find entity with targetname "secondcam"
  43. secondnull = find entity with targetname "secondnull"
  44. thirdcam = find entity with targetname "thirdcam"
  45. thirdnull = find entity with targetname "thirdnull"
  46. fourthcam = find entity with targetname "fourthcam"
  47. fourthnull = find entity with targetname "fourthnull"
  48. fifthcam = find entity with targetname "fifthcam"
  49. fifthnull = find entity with targetname "fifthnull"
  50. endlevel = find entity with targetname "endlevel"
  51.  
  52. //assign all black raiders to the appropriate entities
  53. firstguard = find entity with targetname "firstguard"
  54. secondguard = find entity with targetname "secondguard"
  55. thirdguard = find entity with targetname "thirdguard"
  56. fourthguard = find entity with targetname "fourthguard"
  57. fifthguard = find entity with targetname "fifthguard"
  58. sixthguard = find entity with targetname "sixthguard"
  59. seventhguard = find entity with targetname "seventhguard"
  60. eighthguard = find entity with targetname "eighthguard"
  61. ninthguard = find entity with targetname "ninthguard"
  62. escapetruck = find entity with targetname "escapetruck"
  63. exitdoor = find entity with targetname "exitdoor"
  64.  
  65. //Assign movetypes to the cameras and their associated notnulls
  66. firstcam.movetype = MOVETYPE_NOCLIP
  67. firstnull.movetype = MOVETYPE_NOCLIP
  68.  
  69. secondcam.movetype = MOVETYPE_NOCLIP
  70. secondnull.movetype = MOVETYPE_NOCLIP
  71.  
  72. thirdcam.movetype = MOVETYPE_NOCLIP
  73. thirdnull.movetype = MOVETYPE_NOCLIP
  74.  
  75. fourthcam.movetype = MOVETYPE_NOCLIP
  76. fourthnull.movetype = MOVETYPE_NOCLIP
  77.  
  78. fifthcam.movetype = MOVETYPE_NOCLIP
  79. fifthnull.movetype = MOVETYPE_NOCLIP
  80.  
  81. escapetruck.movetype = MOVETYPE_NOCLIP
  82.  
  83. use entity firstcam // turn on the first camera and watch the guys shoot for a while
  84. //make sure to remember to start the voice over here.  Play the damn sound!
  85. animate entity firstguard performing action STD_WBACKAIM_N_MS_2 by moving [-200,0,0] //signaling sig1
  86. wait .25 seconds
  87. animate entity secondguard performing action STD_WBACKAIM_N_MS_2 by moving [-200,0,0]//signaling sig2
  88. //wait for all clearing sig1, sig2
  89. wait 2.5 seconds
  90. use entity firstcam // turn off the first camera
  91. remove entity firstguard
  92. remove entity secondguard
  93.  
  94.  
  95. use entity secondcam // turn on the second camera and watch the guys shoot for a while
  96. animate entity thirdguard performing action STD_WBACKAIM_N_MS_2  by moving [-200,0,0] //signaling sig1
  97. wait .25 seconds
  98. animate entity fourthguard performing action STD_WBACKAIM_N_MS_2  by moving [-200,0,0] //signaling sig2
  99. //wait for all clearing sig1, sig2
  100. wait 2.5 seconds
  101. use entity secondcam // turn off the second camera
  102. remove entity thirdguard
  103. remove entity fourthguard
  104.  
  105.  
  106. use entity thirdcam //turn on third camera
  107. animate entity fifthguard performing action STD_XYELLWAVE_BK_A_N signaling sig1
  108. animate entity seventhguard performing action CCH_A_FWD_MS_2 repeating for 2 times 
  109. wait for any clearing sig1
  110. animate entity fifthguard performing action STD_R_N_MRS_2 by moving [-200,0,0]
  111. use entity sixthguard 
  112. animate entity seventhguard performing action CCH_XCROUCH_UP_MRS_2 //signaling sig1 
  113. //wait for any clearing sig1
  114. animate entity seventhguard performing action STD_F_FWD_S_2 signaling sig1
  115. wait for any clearing sig1
  116. animate entity seventhguard performing action STD_WBACKAIM_N_MS_2  by moving [-64,0,0] signaling sig1
  117. wait for any clearing sig1
  118. use entity thirdcam //turn off third camera
  119. remove entity fifthguard
  120. remove entity sixthguard
  121. remove entity seventhguard
  122.  
  123. use entity fourthcam //turn on fourth camera
  124. animate entity ninthguard performing action CCH_A_FWD_MS_2 signaling sig1
  125. wait for all clearing sig1
  126. wait 2 seconds
  127. use entity fourthcam //turn off fourth camera
  128. remove entity ninthguard
  129.  
  130. use entity fifthcam //turn on fifth camera
  131. use entity exitdoor
  132. animate entity eighthguard performing action STD_ISTAND_N_A_N signaling sig1 // 
  133. wait for any clearing sig1
  134. animate entity eighthguard performing action STD_ECOMEHERE_N_A_N repeating for 2 times signaling sig1
  135. wait for any clearing sig1
  136. use entity escapetruck // should start the wheels moving // MADE BY JERSEY :)
  137. move entity escapetruck by [-400,0,0] at 60 speed
  138. animate entity eighthguard performing action STD_ISTAND_N_A_N signaling sig1
  139. wait for any clearing sig1
  140. wait 1 seconds
  141. use entity fifthcam // turn off fifth camera
  142. // use entity endlevel // starts the next level
  143.  
  144.  
  145. exit